/**
 * Copyright 2016 Qiyi Inc. All rights reserved.
 *
 * @file:   StatisticOcr2.Dao.js
 * @path:   js-src/StatisticOcr/
 * @desc:   负责本模块的远程调用的静态对象
 * @author: karkarrotxu@qiyi.com
 * @date:   2016-06-26
 */
qui(
    function (require, exports, module) {

        StatisticOcr2.Dao = $.extend({}, EpgWeb.Dao, {

            getAvgAndFullPercent: function (data, callback) {
                var options = {
                    url: StatisticOcr2.urlConfig.queryAvgAndFullPercentUrl,
                    type: "post",
                    data: data,
                    success: function (data) {
                        callback.call(this, data);
                        console.log("getAvgAndFullPercent ");
                    },
                    error: function (data) {
                        callback.call(this, data);
                        console.log("error getAvgAndFullPercent");
                    }
                }
                Ancestor.Dao.ajax(options, "/statistic/ocr/avgAndFullPercent");
            }
        });
    }
);